<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>血糖可视化</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        .form-group {
            margin-bottom: 15px;
        }
        .button-container {
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div class="container mt-5">
        <h2 class="text-center">血糖可视化(mmol/L)</h2>
        <form action="/bloodsugar" method="post" class="row g-3">
            <div class="col-md-4">
                <label for="bloodsugar1" class="form-label">第一次血糖</label>
                <input type="number" class="form-control" id="bloodsugar1" name="bloodsugar1" required>
            </div>
            <div class="col-md-4">
                <label for="bloodsugar2" class="form-label">第二次血糖</label>
                <input type="number" class="form-control" id="bloodsugar2" name="bloodsugar2" required>
            </div>
            <div class="col-md-4">
                <label for="bloodsugar3" class="form-label">第三次血糖</label>
                <input type="number" class="form-control" id="bloodsugar3" name="bloodsugar3" required>
            </div>
            <div class="col-md-4">
                <label for="bloodsugar4" class="form-label">第四次血糖</label>
                <input type="number" class="form-control" id="bloodsugar4" name="bloodsugar4" required>
            </div>
            <div class="col-md-4">
                <label for="bloodsugar5" class="form-label">第五次血糖</label>
                <input type="number" class="form-control" id="bloodsugar5" name="bloodsugar5" required>
            </div>
            <div class="col-md-4">
                <label for="bloodsugar6" class="form-label">第六次血糖</label>
                <input type="number" class="form-control" id="bloodsugar6" name="bloodsugar6" required>
            </div>
            <div class="col-md-4">
                <label for="bloodsugar7" class="form-label">第七次血糖</label>
                <input type="number" class="form-control" id="bloodsugar7" name="bloodsugar7" required>
            </div>
            <div class="col-12 text-center">
                <button type="submit" class="btn btn-primary">提交信息</button>
                <a href="/" class="btn btn-secondary">返回首页</a>
            </div>
        </form>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
